package me.siphone.model;

import com.bin.david.form.annotation.SmartColumn;
import com.bin.david.form.annotation.SmartTable;

@SmartTable
public class Device {

    @SmartColumn(id = 1, name = "设备名", fixed = true)
    private String name;

    @SmartColumn(id = 2, name = "设备短号")
    private String shortNumber;

    @SmartColumn(id = 3, name = "设备类型")
    private String type;

    @SmartColumn(id = 4, name = "设备状态")
    private String status;

    @SmartColumn(id = 5, name = "所属区域")
    private String area;

    @SmartColumn(id = 6, name = "所属人")
    private String owner;

    public Device(
            String name,
            String shortNumber,
            String type,
            String status,
            String area,
            String owner) {
        this.name = name;
        this.shortNumber = shortNumber;
        this.type = type;
        this.status = status;
        this.area = area;
        this.owner = owner;
    }

    public String getName() {
        return name;
    }

    public String getShortNumber() {
        return shortNumber;
    }

    public String getType() {
        return type;
    }

    public String getStatus() {
        return status;
    }

    public String getArea() {
        return area;
    }

    public String getOwner() {
        return owner;
    }
}
